<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>mate</title>
<link href="../Public/css/index.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/member.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Public/js/memberInfo.js"></script>
<script type="text/javascript">
function init() {
	var name = new Array("sex","nation","age_min","age_max","height_min",
			"height_max","local_province","local_city","home_province","home_city",
			"education","job","income","marriage","housing","vehicle","living","kids",
			"body_size","want_kids","smoking","drinking","photo","identify");
	var value = new Array("{$mate['sex']}","{$mate['nation']}","{$mate['age_min']}",
			"{$mate['age_max']}","{$mate['height_min']}","{$mate['height_max']}",
			"{$mate['local_province']}","{$mate['local_city']}","{$mate['home_province']}",
			"{$mate['home_city']}","{$mate['education']}","{$mate['job']}","{$mate['income']}",
			"{$mate['marriage']}","{$mate['housing']}","{$mate['vehicle']}","{$mate['living']}",
			"{$mate['kids']}","{$mate['body_size']}","{$mate['want_kids']}","{$mate['smoking']}",
			"{$mate['drinking']}","{$mate['photo']}","{$mate['identify']}");
	for(var i = 0 ; i <name.length ; i++) {
		select_init(name[i],value[i]);
	}
	initprovince("local_province","local_city","{$mate['local_province']}","{$mate['local_city']}");
	initprovince("home_province","home_city","{$mate['home_province']}","{$mate['home_city']}");
}
</script>
</head>
<body onload="init()">
<form action="__URL__/matemodify" method="post">
<div id="member_info_main">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
	<tr>
		<td width="17%" id="member_info_base_td">性别：</td>
		<td width="33%"><select name='sex' id='sex'>
			<option value=''>请选择</option>
			<option value='男士'>男士</option>
			<option value='女士'>女士</option>
		</select></td>
		<td width="17%" id="member_info_base_td">民族：</td>
		<td><select name='nation' id='nation'>
			<option value='不限'>不限</option>
			<volist name="nationlist" id="na">
			<option value='{$na.opt_value}'>{$na.opt_name}</option>
			</volist>
			</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">年龄：</td>
		<td><select name="age_min" id="age_min">
					<option value='不限'>不限</option>
					<volist name="agelist" id="age">
					<option value='{$age.opt_value}'>{$age.opt_name}</option>
					</volist>
			</select> - 
			<select name="age_max" id="age_max">
					<option value='不限'>不限</option>
					<volist name="agelist" id="age">
					<option value='{$age.opt_value}'>{$age.opt_name}</option>
					</volist>
			</select>
		</td>
		<td id="member_info_base_td">身高：</td>
		<td><select name="height_min" id="height_min">
					<option value='不限'>不限</option>
					<volist name="heightlist" id="height">
					<option value='{$height.opt_value}'>{$height.opt_name}</option>
					</volist>
			</select> - 
			<select name="height_max" id="height_max">
					<option value='不限'>不限</option>
					<volist name="heightlist" id="height">
					<option value='{$height.opt_value}'>{$height.opt_name}</option>
					</volist>
			</select>
		</td>
	</tr>
	<tr>
		<td id="member_info_base_td">所在地：</td>
		<td><select onchange="setcity('local_province','local_city','{$mate['local_city']}');" name="local_province" id="local_province">
			<option value='不限'>不限</option>
			<volist name="provincelist" id="province">
			<option value='{$province.opt_value}'>{$province.opt_name}</option>
			</volist>
		</select> <select name="local_city" id="local_city">
			<option value='不限'>不限</option>
		</select></td>
		<td id="member_info_base_td">籍贯：</td>
		<td><select onchange="setcity('home_province','home_city','{$mate['home_city']}');" name="home_province" id="home_province">
			<option value='不限'>不限</option>
			<volist name="provincelist" id="province">
			<option value='{$province.opt_value}'>{$province.opt_name}</option>
			</volist>
		</select> <select name="home_city" id="home_city">
			<option value='不限'>不限</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">学历：</td>
		<td><select name='education' id='education'>
			<option value='不限'>不限</option>
			<option value='高中及以下'>高中及以下</option>
			<option value='中专'>中专</option>
			<option value='大专'>大专</option>
			<option value='大学本科'>大学本科</option>
			<option value='硕士'>硕士</option>
			<option value='博士'>博士</option>
			<option value='博士后'>博士后</option>
		</select></td>
		<td id="member_info_base_td">职业：</td>
		<td><select name='job' id='job'>
			<option value='不限'>不限</option>
			<volist name="joblist" id="job">
			<option value='{$job.opt_value}'>{$job.opt_name}</option>
			</volist>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">月收入：</td>
		<td><select name='income' id='income'>
			<option value='不限'>不限</option>
			<option value='2000元及以下'>2000元及以下</option>
			<option value='2001-5000元'>2001-5000元</option>
			<option value='5001-8000元'>5001-8000元</option>
			<option value='8001-10000元'>8001-10000元</option>
			<option value='10001-20000元'>10001-20000元</option>
			<option value='20001-50000元'>20001-50000元</option>
			<option value='50000元以上'>50000元以上</option>
		</select></td>
		<td id="member_info_base_td">婚姻状态：</td>
		<td><select name='marriage' id='marriage'>
			<option value='不限'>不限</option>
			<option value='未婚'>未婚</option>
			<option value='短婚'>短婚</option>
			<option value='离异'>离异</option>
			<option value='丧偶'>丧偶</option>
		</select></td>
	</tr>		
	<tr>
		<td id="member_info_base_td">住房条件：</td>
		<td><select name='housing' id='housing'>
			<option value='不限'>不限</option>
			<option value='没有婚房'>没有婚房</option>
			<option value='已购婚房'>已购婚房</option>
			<option value='有别墅'>有别墅</option>
			<option value='有复式房'>有复式房</option>
			<option value='有购房能力'>有购房能力</option>
			<option value='最好共同购房'>最好共同购房</option>
			<option value='与家人同住'>与家人同住</option>
			<option value='租房'>租房</option>
			<option value='单位宿舍'>单位宿舍</option>
			<option value='保密'>保密</option>
		</select></td>
		<td id="member_info_base_td">是否有车：</td>
		<td><select name='vehicle' id='vehicle'>
			<option value='不限'>不限</option>
			<option value='有车'>有车</option>
			<option value='没有车'>没有车</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">婚后住房情况：</td>
		<td><select name='living' id='living'>
			<option value='不限'>不限</option>
			<option value='与自己父母同住'>与自己父母同住</option>
			<option value='不与自己父母同住'>不与自己父母同住</option>
			<option value='尊重伴侣决定'>尊重伴侣决定</option>
			<option value='视具体情况而定'>视具体情况而定</option>
		</select></td>
		<td id="member_info_base_td">对方是否有孩子：</td>
		<td><select name='kids' id='kids'>
			<option value='不限'>不限</option>
			<option value='没有孩子'>没有孩子</option>
			<option value='有孩子且住在一起'>有孩子且住在一起</option>
			<option value='有孩子且偶尔会一起住'>有孩子且偶尔会一起住</option>
			<option value='有孩子但不在身边'>有孩子但不在身边</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">体型：</td>
		<td><select name='body_size' id='body_size'>
			<option value='不限'>不限</option>
			<option value='瘦'>瘦</option>
			<option value='较瘦'>较瘦</option>
			<option value='匀称'>匀称</option>
			<option value='苗条'>苗条</option>
			<option value='高挑'>高挑</option>
			<option value='丰满'>丰满</option>
			<option value='性感'>性感</option>
			<option value='健壮'>健壮</option>
			<option value='魁梧'>魁梧</option>
			<option value='略胖'>略胖</option>
			<option value='较胖'>较胖</option>
			<option value='胖'>胖</option>
		</select></td>	
		<td id="member_info_base_td">是否想要孩子：</td>
		<td><select name='want_kids' id='want_kids'>
			<option value='不限'>不限</option>
			<option value='没有'>没有</option>
			<option value='想要孩子'>想要孩子</option>
			<option value='不想要孩子'>不想要孩子</option>
			<option value='视情况而定'>视情况而定</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">是否在意TA抽烟：</td>
		<td><select name='smoking' id='smoking'>
			<option value='不限'>不限</option>
			<option value='不抽且很反感'>不抽且很反感</option>
			<option value='不抽但不反感'>不抽但不反感</option>
			<option value='稍微抽一点儿'>稍微抽一点儿</option>
			<option value='只在社交场合抽'>只在社交场合抽</option>
			<option value='抽的很多'>抽的很多</option>
		</select></td>
		<td id="member_info_base_td">是否在意TA喝酒：</td>
		<td><select name="drinking" id="drinking">
			<option value='不限'>不限</option>
			<option value='不喝酒'>不喝酒</option>
			<option value='有兴致时喝'>有兴致时喝</option>
			<option value='只在社交场合喝'>只在社交场合喝</option>
			<option value='喝的很多'>喝的很多</option>
		</select></td>
	</tr>
	<tr>
		<td id="member_info_base_td">是否有照片：</td>
		<td><select name="photo" id="photo">
			<option value='不限'>不限</option>
			<option value='有'>有</option>
			<option value='无'>无</option>
		</select></td>
		<td id="member_info_base_td">是否认证会员：</td>
		<td><select name="identify" id="identify">
			<option value='不限'>不限</option>
			<option value='是'>是</option>
		</select></td>
	</tr>
</table>
<div id="member_info_submit">
	<input type="image" name="submit" src="../Public/images/member/member_info_edit.gif"
		onMouseOver="this.src='../Public/images/member/member_info_edit_2.gif'" 
		onMouseOut="this.src='../Public/images/member/member_info_edit.gif'" alt="修改"> 
	<img src="../Public/images/main/modify_reset.gif" 
		onMouseOver="this.src='../Public/images/main/modify_reset_2.gif'" 
		onMouseOut="this.src='../Public/images/main/modify_reset.gif'" 
		onClick="location.reload()" style="cursor: pointer;" alt="重置">
</div>
</div>
</form>
</body>
</html>